package com.mdd.common.enums.bill;

/**
 * 账单类型
 *
 * @Description
 * @Author 幻速
 * @Date 2023/11/28 13:33
 **/
public enum BillTypeEnum {
    //费用类别: 1、定金账单 2、押金账单 3、租金账单 4、违约金 5、其他
    FIRST_DEPOSIT_BILL(1, "定金账单"),
    DEPOSIT_BILL(2,"押金账单"),
    RENT_BILL(3,"租金账单"),
    PENALTY_BILL(4,"违约金"),
    OTHER_BILL(5,"违约金");
    /**
     * 构造方法
     */
    private final int code;
    private final String msg;
    BillTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }
}
